<?php
namespace app\comm\Tools\pay;
use ServS\DbConf;
class PayTool{
	/**
	 * 获取支付类型比对
	 * @return [type] [description]
	 */
	public function getpaytype($paty){
		$res = DbConf:: getconf('wallet');
		foreach ($res as $key => $value) {
			if($value['value']==$paty){
				return $value;
			}
		}
	}
}
?>